/*
 * @Author: your name
 * @Date: 2021-05-12 19:58:46
 * @LastEditTime: 2021-05-17 16:30:39
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \blog-server\config.js
 */
const path = require("path")
module.exports = {
  host: '127.0.0.1',
  root: process.cwd(),
  port: 3000,
  keyPath: path.join(process.cwd(), '/auth'),
  pubKeyPath: path.join(process.cwd(), '/auth/public.cer'),
  priKeyPath: path.join(process.cwd(), '/auth/private.cer'),
  userPath: path.join(process.cwd(), '/user/user.json'),
  uploadPath: path.join(process.cwd(), '/uploads'),
  uploadURL: 'http://127.0.0.1:3000/',
  maxFileSize: 102400
}